#include "encode.h"
#include <QFont>
#include <QProgressDialog>
#include "ui_encode.h"

encode::encode(QWidget *parent) :
    QDialog(parent),
    ui(new Ui::encode)
{
    ui->setupUi(this);
    QFont font("lbw",12);
    setFont(font);
    setWindowTitle(tr("Progress"));

    FileNum = new QLabel;
    FileNum->setText(tr("Filenumber: "));
    FileNumLineEdit = new QLineEdit;
    FileNumLineEdit->setText(tr("1000"));

    ProgressType = new QLabel;
    ProgressType->setText(tr("type:"));
    comboBox = new QComboBox;
    comboBox->addItem(tr("progressBar"));
    comboBox->addItem(tr("progressDialog"));
}

void encode::on_pushButton_clicked()
{
    close();
}

encode::~encode()
{
    delete ui;
}

